package world.criver.h50529.module;

import java.util.ArrayList;
public class moListen {
    private String name;
    private String hotkey;
    private ArrayList<Double> await_time;
    private ArrayList<String> events;
    private boolean forbidden;
    public String toString(){
        return "启用："+(forbidden?"否":"是")+" 事件数："+events.size();
    }
    public boolean isForbidden(){
        return forbidden;
    }
    public void setForbidden(boolean forbidden){
        this.forbidden=forbidden;
    }
    public ArrayList<String> getEvents(){
        return events;
    }
    public void setEvents(ArrayList<String> events){
        this.events=events;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getHotkey() {
        return hotkey;
    }

    public void setHotkey(String hotkey) {
        this.hotkey = hotkey;
    }

    public ArrayList<Double> getAwait_time() {
        return await_time;
    }

    public void setAwait_time(ArrayList<Double> await_time) {
        this.await_time = await_time;
    }
}
